package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * ETH钱包地址表 Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name="wallet_eth_address")
public class WalletEthAddressInfo extends BaseEntity{
    /**
     `user_id` varchar(64) DEFAULT NULL COMMENT '用户id',
     `address` varchar(255) DEFAULT NULL COMMENT 'eth账户地址',
     `private_key` varchar(255) DEFAULT NULL COMMENT 'eth账户私钥',
     `public_key` varchar(255) DEFAULT NULL COMMENT 'eth账户公钥',
     `user_qc` varchar(255) DEFAULT NULL COMMENT '地址二维码',
     */
    private static final long serialVersionUID = 1L;
    private String userId;          // 用户ID
    private String address;         // eth账户地址
    private String privateKey;     // eth账户私钥
    private String publicKey;      // eth账户公钥
    private String userQc;         // 地址二维码


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getUserQc() {
        return userQc;
    }

    public void setUserQc(String userQc) {
        this.userQc = userQc;
    }
}